
$(function(){

/* */
  //跳转到详情界面
  	YuXi.InfoQuery.init({	
		url:"InformationDispatch/getAllTimeOutInfoList.do",
		query:{
			
				currentPage:1
			},					
		success:function(data){					
				YuXi.Render.InformationSeach(data.list,5,"调配信息");//调用信息查询的页面渲染模块
			},
			getQueryParm:function(){
						var query={};
						query={
							
							currentPage:1
						}
						YuXi.InfoQuery.queryData=YuXi.ALLSearch.base(query);
					},
				error:function(){},
				/* selector:{
					nextPage:$("#nextPage"),
					prevPage:$("#prevPage"),
					firstPage:$("#headPage"),
					lastPage:$("#endPage"),
					totalPage:$("#totalPage")
					此项为默认项
				}	 */
		});		
  $(document).on("click",".detail",function(){
	  	var id= $(this).attr("data-id");
		var menuId=$("#menu-container").attr("menu-id");
		window.location.href = '../information/subDetailInfo.jsp?menuId='+menuId+'&detailId=' + id;
  })
 $(document).on("click",".update",function(){

	 var id= $(this).attr("data-id");
	 var menuId=$("#menu-container").attr("menu-id");
	 window.location.href='timeOutDeploy.jsp?updateId=' + id+"&menuId="+menuId;
  })
  
   

})